package com.kxq.zhuoyue.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kxq.zhuoyue.mapper.EmpDrainageMapper;
import com.kxq.zhuoyue.po.Emp;
import com.kxq.zhuoyue.po.EmpDrainage;
import com.kxq.zhuoyue.service.EmpDrainageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lyz
 * @since 2023年09月01日
 */
@Service
public class EmpDrainageServiceImpl extends ServiceImpl<EmpDrainageMapper, EmpDrainage> implements EmpDrainageService {

    @Autowired
    private EmpDrainageMapper empDrainageMapper;
    public List<EmpDrainage> findName(String codeName){
        List<EmpDrainage> empDrainages =empDrainageMapper.findEmpName(codeName);
        return empDrainages;
    }

}
